package day05;

public class MultiTable {
    public static void main(String[] args) {
        //int num = 9;
        for (int num = 1; num <= 9; num++) {
            for (int i = 1; i <= num; i++) {
                System.out.print(i + "*" + num + "=" + i * num + "\t");
            }
            System.out.println();

        }
        /*
        执行过程

         */
        //嵌套循环，外层控制行，内层控制列
        //外层走一次，内层走所有次
        //嵌套层数越少越好
        //break默认只能跳出当前一层循环
    }
}
